.container {
	position: relative;
	width: 650px;
	height: 650px;
	transform: rotate(45deg);
	top: 200px;
	left: 200px;
	border: 1px solid black;
}

.box {
	position: absolute;
	width: 200px;
	height: 200px;
	left: 0;
	top: 0;
	opacity: 0.5;
}

.box-1 {
	left: 0;
	top: 0;
	background-color: red;
}

.box-2 {
	left: 50px;
	top: 50px;
	background-color: orange;
}

.box-3 {
	left: 100px;
	top: 100px;
	background-color: yellow;
}
.box-4 {
	left: 150px;
	top: 150px;
	background-color: green;
}
.box-5 {
	left: 200px;
	top: 200px;
	background-color: blue;
}
.box-6 {
	left: 250px;
	top: 250px;
	background-color: darkgreen;
}
.box-7 {
	left: 300px;
	top: 300px;
	background-color: purple;
}
.box-8 {
	left: 350px;
	top: 350px;
	background-color: brown;
}
.box-9 {
	left: 400px;
	top: 400px;
	background-color: lightseagreen;
}
.box-10 {
	left: 450px;
	top: 450px;
	background-color: deeppink;
}